package xq.pug.feign.service.order;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import xq.pug.common.result.R;
import xq.pug.feign.dto.order.OrderMakeFeignReqDTO;
import xq.pug.feign.dto.order.OrderMakeFeignRespDTO;

/**
 * @program: xq_pug_alibabacloud_parent
 * @description:
 * @author: Mr.Ren
 * @create: 2023-07-12 22:03
 **/
@FeignClient(name = "order-service")
public interface OrderServiceFeign {

    @PostMapping("/order/orderMake")
    R<OrderMakeFeignRespDTO> orderMake(@RequestBody OrderMakeFeignReqDTO reqDTO);
}
